import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { TopologyService } from './topology.service';
import { TopologyController } from './topology.controller';
import { ServiceNode } from '../entities/service-node.entity';
import { ServiceEdge } from '../entities/service-edge.entity';

@Module({
  imports: [TypeOrmModule.forFeature([ServiceNode, ServiceEdge])],
  providers: [TopologyService],
  controllers: [TopologyController]
})
export class TopologyModule {}